rm -f libcasdac.a &&
rm -f casdac.h &&
rm -f dac &&
go build -buildmode=c-archive -o casdac.a &&
mv casdac.a libcasdac.a &&
gcc _dac.c -lcasdac -lpthread -lm -L. -o dac
# 不能使用static link，
# Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
# initDB - Ping 处即崩溃了
